using System;

namespace SharpMud.MudLib.SAMPLE.Messaging.Act
{
	public class SimpleActMessage : IActMessage
	{
		private string _Message;
		public SimpleActMessage(string message)
		{
			_Message = message;
		}

		public string Message
		{
			get
			{
				return _Message;
			}
		}
		#region IActMessage Members

		IActMessageParameter[] IActMessage.Parameters
		{
			get
			{			
				return new IActMessageParameter[] { new ActMessageParameter("Message",this._Message) };	
			}
		}

		string IActMessage.ToAbsoluteValue()
		{
			return this._Message;
		}
		#endregion
	}
}
